local extension = Package:new("ling_zhanguo")
extension.extensionName = "lingling"

extension:loadSkillSkelsByPath("./packages/lingling/pkg/ling_4_zhanguo/skills")

local guanzhong = General:new(extension, "lingling__guanzhong", "qi", 3)
guanzhong:addSkills { "lingling__cangshi", "lingling__bingnong" }
guanzhong.endnote = "<br><font color='#a40000'>夷吾成霸，平仲称贤。粟乃实廪，豆不掩肩。"
Fk:loadTranslationTable{
  ["lingling__guanzhong"] = "管仲",
  ["#lingling__guanzhong"] = "千古一相",
  ["designer:lingling__guanzhong"] = "伶",
}

local sunwu = General:new(extension, "lingling__sunwu", "wu", 3, 4)
sunwu.shield = 2
sunwu:addSkills { "lingling__xushi" }
sunwu.endnote = "<br><font color='#a40000'>兵者，诡道也。"
Fk:loadTranslationTable{
  ["lingling__sunwu"] = "孙武",
  ["#lingling__sunwu"] = "兵圣",
  ["designer:lingling__sunwu"] = "伶",
}

local wuzixu = General:new(extension, "lingling__wuzixu", "chu", 4)
wuzixu.subkingdom = "wu"
wuzixu:addSkills { "lingling__qiongdu", "lingling__fuhen" }
wuzixu.endnote = "<br><font color='#a40000'>芦中人，芦中人，渡过江，谁的恩？<br>"..
  "宝剑上，七星纹，还给你，带在身。<br>"..
  "你今天，得意了，可记得，渔丈人？"
Fk:loadTranslationTable{
  ["lingling__wuzixu"] = "伍子胥",
  ["#lingling__wuzixu"] = "烈丈夫",
  ["designer:lingling__wuzixu"] = "伶伶＆小涵",
}

local yueyi = General:new(extension, "lingling__yueyi", "yan", 4)
yueyi:addSkills { "lingling__lianke", "lingling__bugong" }
yueyi.endnote = "<br><font color='#a40000'>七十城收一笑间，当时气势擅强燕。"
Fk:loadTranslationTable{
  ["lingling__yueyi"] = "乐毅",
  ["#lingling__yueyi"] = "芳规不渝",
  ["designer:lingling__yueyi"] = "伶",
}

local linxiangru = General:new(extension, "lingling__linxiangru", "zhao", 3)
linxiangru:addSkills { "lingling__huanbi", "lingling__nuchi" }
linxiangru.endnote = "<br><font color='#a40000'>最怜恃勇偏轻举，直挟君王冒虎狼。"
Fk:loadTranslationTable{
  ["lingling__linxiangru"] = "蔺相如",
  ["#lingling__linxiangru"] = "凛凛死义",
  ["designer:lingling__linxiangru"] = "伶",
}

local lianpoz = General:new(extension, "lingling__lianpoz", "zhao", 4)
lianpoz:addSkills { "lingling__zhuangqi", "lingling__jueshuo" }
lianpoz.endnote = "<br><font color='#a40000'>引车趋避量诚洪，肉袒将军志亦雄。<br>今日纷纷竞门户，谁将国计置胸中？"
Fk:loadTranslationTable{
  ["lingling__lianpoz"] = "廉颇",
  ["#lingling__lianpoz"] = "老将",
  ["designer:lingling__lianpoz"] = "伶",
}

local wuqi = General:new(extension, "lingling__wuqi", "wei", 3)
wuqi.subkingdom = "chu"
wuqi:addSkills { "lingling__wuzuzhi", "lingling__zhuzhanpai" }
wuqi.endnote = "<br><font color='#a40000'>与诸侯大战七十六，全胜六十四，余则钧解。辟土四面，拓地千里，皆起之功也。"
Fk:loadTranslationTable{
  ["lingling__wuqi"] = "吴起",
  ["#lingling__wuqi"] = "兵家亚圣",
  ["designer:lingling__wuqi"] = "伶",
}

return extension
